home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / python-support / python2.6 / dbus / dbus_bindings.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  1.4 KB  |  18 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from warnings import warn as _warn
  5. _dbus_bindings_warning = DeprecationWarning('The dbus_bindings module is not public API and will go away soon.\n\nMost uses of dbus_bindings are applications catching the exception\ndbus.dbus_bindings.DBusException. You should use dbus.DBusException\ninstead (this is compatible with all dbus-python versions since 0.40.2).\n\nIf you need additional public API, please contact the maintainers via\n<dbus@lists.freedesktop.org>.\n')
  6. _warn(_dbus_bindings_warning, DeprecationWarning, stacklevel = 2)
  7. from dbus.exceptions import DBusException
  8.  
  9. class ConnectionError(Exception):
  10.     pass
  11.  
  12. from dbus.types import *
  13. from _dbus_bindings import Message, SignalMessage as Signal, MethodCallMessage as MethodCall, MethodReturnMessage as MethodReturn, ErrorMessage as Error
  14. from _dbus_bindings import Connection
  15. from dbus import Bus
  16. bus_request_name = Bus.request_name
  17. bus_release_name = Bus.release_name
  18.